package com.olmarket.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@EnableTransactionManagement
@SpringBootApplication
@MapperScan("com.olmarket.core.dao")
public class CoreApplication {


    public static void main(String[] args) {

//        System.setProperty("jasypt.encryptor.password", "encryptorPwd");
        // 用户的主目录

        System.out.println("user_home = " + System.getProperty("user.home"));

        // 用户的当前工作目录

        System.out.println("user_dir = " + System.getProperty("user.dir"));
        SpringApplication.run(CoreApplication.class, args);
    }

}
